const Usecase = require('../../shared/usecase/Usecase')

class Register extends Usecase {
  constructor({ createUser }) {
    super()
    this.createUser = createUser
  }
  async execute(data) {
    return await this.createUser.execute(data)
  }
}

module.exports = Register
